#ifndef __ML307_H_
#define __ML307_H_
#include "stm32f1xx.h"
#include "network.h"


typedef struct ML307R_HANDLE_T
{
	void (*AT_Step_Send)(Network_Handle_t *handle);
	void (*AT_Step_Parse)(Network_Handle_t *handle);
	void (*Reset)(FlagStatus pinstate);
	void (*Power_ON_OFF)(FlagStatus pinstate);
	void (*Socket_Open)(Network_Handle_t*handle,unsigned char socketid);
	void (*Socket_Send)(Network_Handle_t*handle,unsigned char socketid,uint8_t *info,uint16_t len);
	void (*Progressive_Scanning_Parse)(Network_Handle_t *handle,uint8_t *info,uint16_t len);
}ML307R_Handle_t;
extern ML307R_Handle_t ML307R_Handle;
#endif


